package com.ruoyi.finance.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 【收益数据统计】对象 finance
 *
 * @author ruoyi
 * @date 2025-07-04
 */
@Data
@ApiModel(description = "收益数据统计实体")
public class Finance extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "财务管理ID", example = "财务管理ID")
    private Long id;

    @ApiModelProperty(value = "订单ID", example = "订单ID")
    @Excel(name = "订单id")
    private String orderId;

    @ApiModelProperty(value = "病种ID", example = "病种ID")
    @Excel(name = "病种id")
    private Long diseaseId;

    @ApiModelProperty(value = "总金额", example = "总金额")
    @Excel(name = "总金额")
    private BigDecimal totalAmount;

    @ApiModelProperty(value = "叮豆总数量", example = "叮豆总数量")
    private BigDecimal ddTotalAmount;

    @ApiModelProperty(value = "抽成比例", example = "抽成比例")
    @Excel(name = "抽成比例")
    private String drawProportion;

    @ApiModelProperty(value = "抽成金额", example = "抽成金额")
    @Excel(name = "抽成金额")
    private BigDecimal drawAmount;

    @ApiModelProperty(value = "叮豆抽成数量", example = "叮豆抽成数量")
    @Excel(name = "叮豆抽成数量")
    private BigDecimal drawDdNum;

    @ApiModelProperty(value = "结算时间(yyyy-MM-dd)", example = "结算时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "结算时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date settlementTime;

    private Date createTime;

}
